<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script type="text/javascript" src="../../js/jquery-3.6.0.min.js"></script>
<!-- 富文本编辑器  -->
<link rel="stylesheet"  href="../../js/kindeditor-4.1.10/themes/qq/qq.css"/>
<script  type="text/javascript" src="../../js/kindeditor-4.1.10/kindeditor-all.js"></script>
<body>
    <form th:action="@{/hero/addHero}" method="post">
        英雄名称：<input type="text"  name="heroname" ><br>
        英雄性别：<input type="radio" name="herosex" value="1">男
        <input type="radio" name="herosex" value="0">女<br>
        英雄门派：<select name="type.id">
        <option value="-1">请选择</option>
        <option
                th:each="a:${artList}"
                th:value="${a.artid}" th:text="${a.artname}">
        </option>
    </select><br>
        兵器谱排名：<input type="text" name="heroseqorder"><br>
        <input type="submit" value="提交">
    </form>
</body>
</html>